Method for water purification

ABSTRACT

The present invention relates to an improved method of controlling a wastewater treatment plant. In particular the invention relates to a method of identifying a condition and as a result of this apparent condition changes the treatment of the waste water. Especially the present invention relates to a method of improving the nutrient removal in wastewater treatment plants. The present invention provides a control method comprising a cycle with two phases, a first and a second phase, the first phase continues until sufficient nitrification is obtained and the uptake of phosphate reaches a defined level based on the current load or capacity situation, and the second phase continues until sufficient denitrification is obtained and until the storage of intercellular compounds in the phosphorus accumulation organisms (PAO) reaches a defined level.

The present invention relates to an improved method of controlling a wastewater treatment plant. In particular the invention relates to a method of identifying a condition and as a result of this apparent condition change the treatment of the waste water. Especially the present invention relates to a method for improving the nutrient removal in wastewater treatment plants.

In previously known water treatment plants the removal of biologic material and nitrogen is regulated by using different control and regulation means such as those described in EP 0 642 469, and phosphorous is removed in a separate step with or without precipitation agents.

The object of the invention is to obtain an overall improved purification by optimizing two or more processes relative to each other. The invention provides a control method which adds or optimises the control of a secondary purifying process without causing substantial detrimental effects to one or more primary purifying processes occupying the main part of the resources in the waste water treatment plant. An example of this could be to introduce or to optimise the process for biological removal of phosphorous while degradation of organic matter and nitrate and ammonium compounds continues to take place in the waste water treatment plant with practically unchanged effectiveness.

Generally control of the phase lengths can generally be carried out according to two different principles: time-based control and on-line measurement based control. Time-based control is simply assigning specific phase lengths either in a constant fashion or by allowing the phase lengths to change over the day according to a predefined pattern. Although simple in principle, time-based control can be rather potent as it is possible to define relatively sophisticated time patterns for the phase lengths. However, when the load or other important factors change in an unknown manner, phase time (i.e. capacity) will be lost, too much energy will be used or the desired output quality will no be met. By using on-line measurement based control as described according to the present invention, some or all of these problems can be solved since on-line measurement based control has the ability to track the load changes and adjust the phase lengths accordingly. There are several different strategies to implement the measurement-based control.

A further object of the invention is to provide an improved control method for treating wastewater in which the amount of precipitation agents can be reduced especially when removing phosphorous.

A reduction in the amount of precipitation agents used in a water treatment plant does not only reduce the operating costs it also reduces the environmental impact of such a plant. Since smaller amounts of precipitation agents are used, smaller amounts of precipitated chemical compounds are present in the sludge thus resulting in a sludge being more suitable for agricultural purposes.

Thus the present invention provides a control method comprising a cycle with two phases, a first and a second phase, the first phase continues until sufficient nitrification is obtained and the uptake of phosphate reaches a defined level based on the current load or capacity situation, and the second phase continues until sufficient denitrification is obtained and until the storage of intercellular compounds in the phosphorus accumulation organisms (PAO) reaches a defined level.

“Sufficient” means that a desired level has been obtained; the desired level can be defined by a constant parameter or by a parameter which is continuously adapted.

Preferably the uptake of phosphorous in the first step is quantified by at least one system parameter (A, B, C, . . . ) and at least one control parameter a_(N) is derived from the at least one system parameter; the nitrification of the first step is quantified by at least one system parameter (G, H, J, . . . ) and at least one control parameter g_(N) is derived from the at least one system parameter; also the storage of intercellular compounds in the second step is quantified by a system parameter (A, B, C, . . . ) and at least one control parameter a_(DN) is derived from the at least one system parameter; and the denitrification of the second step is quantified by at least one system parameter (G, H, J, . . . ) and at least one control parameter g_(DN) is derived from the at least one system parameter.

The control method for wastewater treatment in a plant having a purifying section can be implemented according to the following:

-   -   a) continuously measuring one or more system parameters,     -   b) determining a first control parameter on the basis of the         measured values from step a) and a first control function,     -   c) determining a first control action on the basis of the         measured values from step a) and the first control parameter of         step b) and subsequently,     -   d) implementing the first control action,     -   e) letting said purifying section change conditions,     -   f) determining a second control parameter on the basis of the         measured values from step a) and a second control function,     -   g) determining a second control action on the basis of the         determined control parameter and subsequently,     -   h) implementing the second control action, and     -   i) letting the purifying section return to the conditions of         step b) to d)     -   k) return to step b).

In a preferred embodiment the limit for the first or the second control parameter is adaptive. When a limit is adaptive it is normally depending e.g. on daily means level of PO₄ and the actual NH₄ and NO₃ load or another system parameter. The advantage of adaptive limits is that the control automatically prioritizes the phosphorous removal when the nitrogen load is low, i.e. there is excess capacity in the plant, and inactivates the phosphorous control when the nitrogen load is high.

In a preferred embodiment the implementation of the method further comprises the steps:

-   -   j) measuring one or more system parameter     -   k) determining a third control parameter on the basis of the         measured results in step j and a third selected control function     -   l) selecting a third control action on the basis of the in step         j measured results and the determined third control parameter         and subsequently     -   m) implementing the third control action and     -   n) letting the section reach anoxic conditions

Preferably the first control parameter is determined on the basis of measurements for at least two system parameters and control functions associated with said system parameters, and the second control parameter is determined on the basis of measurements for at least two system parameters and control functions associated with said system parameters.

The measured system parameters can be selected from the group consisting of nitrate concentration, ammonium concentration, phosphate concentration, oxygen concentration, COD (chemical oxygen demand), BOD (biochemical oxygen demand), TOC (total organic carbon), respirometry, NADH (nicotinamide adenine dinucleotide) and temperature.

Preferably a measurement for a phosphate concentration is used as basis for the second control parameter, and more preferred measurements of phosphate, nitrate and ammonium concentration are used as basis for the second control parameter.

Also a redox measurement can be used to measure one or more of the system parameters.

Preferably the system parameter in step a) is the concentration of NH₄ ⁺ and NO₃ ⁻ and the first control action is selected from the group consisting of stopping supply of nitrate, stopping aeration and keeping the aeration turned off.

Preferably the second measurement measures the concentration of PO₄ and the second control action in selected from the group consisting of supplying carbon sources, supplying nitrate and starting aeration.

Preferably the system parameters in step j) are the concentration of NH₄ ⁺ of NO₃ ⁻ or the concentration of PO₄ and the third control action is stopping aeration.

Preferably the purifying section is let to reach anaerobic conditions at a time calculated on the basis of at least two system parameters.

Preferably the anaerobic conditions are abolished at a time calculated on the basis of at least two measured system parameters.

In a most preferred embodiment the system parameters are selected from the group consisting of nitrate concentration, ammonium concentration, phosphate concentration, oxygen concentration and temperature.

In a most preferred implementation the method assuring increased biological phosphorous removal in a purifying plant with one or more aerated sections comprises the following steps:

-   a) continuously determining the concentrations or the rates of     formation for NH₄, NO₃ and PO₄; -   b) determining two control parameters: K_(nN)=f(NH₄,NO₃) and     K_(nbiop)=f(PO₄,NH₄) on the basis of the concentrations or the rates     of formation for NH₄, NO₃ and PO₄; -   c) implementing a control action terminating the nitrification phase     when K_(nN) and K_(nbiop) are fulfilled; -   e) letting the purifying section reach anaerobic conditions; f)     determining two control parameters: K_(dnN)=f(NH₄,NO₃) and     K_(dnbiop)=f(PO₄,NH₄, NO₃) -   g) determining a control action to terminate the denitrification     phase when K_(dnN) and K_(dnbiop) are fulfilled; -   h) implementing the determined control action, -   j) letting the purifying section return to aerobic condition and -   k) return to step b).

Preferably the invention is used in plants having a load of more than 10.000 PE, more preferred in plants having a load of more than 100.000 PE and most preferred in plants having a load of more than 250.000 PE.

Preferably the invention is used in plants having a feed volume>2.000 m³/day, more preferred a feed volume>20.000 m³/day, and most preferred a feed volume>60.000 m³/day.

In a preferred embodiment the system parameters is determined by used of sensors. Preferably the sensors are on-line meters for measuring of ammonium nitrate and/or phosphate e.g. such meters are made by:

-   -   Hach Lange     -   Danfoss     -   Endress+Hauser     -   Bran+Luebbe     -   WTW (Wissenschaftlich-Technische Werkstatten GmbH & co. KG)     -   Applied Spectrometry Associates, Inc. (ChemScan Analyzers)         Definitions:

Load/capacity: The definition of load can be split into the definition of the hydraulic load, the organic matter load and the nutrient load. The hydraulic load is the volume of the inlet flow per day [m3/h]. The organic matter load is the mass organic matter per day in the inlet flow [kg/day]. The nutrient load is the mass of nutrient in the inlet flow per day [kg/day]. The definition of the capacity is the maximum load which is possible for the biological processes to remove.

A system parameter is a parameter which contains information of the system and which parameter can be quantified. Relevant system parameters could be selected from the group consisting of component concentrations, e.g. NO₃, NH₄, PO₄, COD (chemical oxygen demand), BOD (biochemical oxygen demand), TOC (total organic carbon), redox potential and temperature. That a system parameter is measured continuously means that measuring of the system parameter is always possible, normally the measurements will be registered at certain time steps e.g. every 30 sec. or at request.

A control parameter is a parameter (variable or constant) which is selected or calculated from one or more registered values of the system parameters in order to determine an appropriate control action. The control parameter can e.g. be a set point or an upper or lower limit. An example of a control parameter is the desired value of the oxygen concentration in a nitrification tank. Examples of system parameters associated with this control parameter comprise the nitrate concentration, the redox potential and the phosphate concentration. Another example of a control parameter is the actual ammonium concentration in a denitrification tank. Examples of system parameters associated with this control parameter comprise the ammonium concentration, the oxygen concentration and the oxygen supply.

If the control parameter is calculated e.g. from more than one system parameter it is calculated by a control function. A control function defines the correlation between the control parameter and the system parameter or a value derived from the system parameter. The correlation between the system parameter and the control parameter is normally defined according to a mathematical model of the deterministic or the stochastic type which model might be totally or partly determined from past data and experience from earlier operations. The used control functions are typically discontinuous functions which are a combination of various continuous functions.

A preferred embodiment of the invention is based on the well known finding that by forcing phosphorous removing bacteria —Phosphorous Accumulating Organisms PAO—to live under changing conditions in a controlled manner the PAO are as a net result of the process able to remove an increased amount of phosphorous from a surrounding media.

This finding is e.g. described in U.S. Pat. No. 5,304,308 where the operating conditions are alternately changing between anaerobic and aerobic conditions. This document describes how to remove both nitrogen and phosphorous components in a two compartment purification plant. Nitrogen is eliminated such that NH₄—N is oxidized under an aerobic condition to NO₃—N by an activity of nitrifying bacteria, which is then reduced under an anaerobic condition to N₂ by an activity of denitrifying bacteria. In this intermittent aeration process, the phosphorous release from the activated sludge occurs after the denitrification is finished and oxygen molecules originating from NO 3-N become absent from the tank, and subsequently the phosphorous absorption is performed in the next aeration step. Operations of the first and second aeration tanks are simultaneously transferred from the agitation to the aeration based on detection of an ORP (oxidation-reduction potential) bending point or the ORP value equal to the predetermined value which points represent the completion of the denitrification in the second aeration tank. This method is directed to a constant removal of both nitrogen and phosphorous from the waste water, and according to this method no prioritizing between the two processes is decided. Also this process is locked to a specific plant type with two aerated compartments and one forward stream passing both compartments.

The method according to the present invention can be performed in all kind of different plants, also in a single tank/section/compartment where it is possible to add aeration and the method is directed to a constant removal of nitrogen and occasional biological removal of phosphorous. When the preferred embodiment of the invention is applied an increased part of the phosphorous in the wastewater is bound in the PAO and removed from the process as these organisms are removed as sludge, therefore less phosphorous has to be precipitated with precipitation agents giving the advantage of sludge being more suitable for agricultural use, in that biological bound phosphorous is more readily available for plants. When implementing the present invention a control method can be added to an existing plant with one or more compartments thereby increasing the biological phosphorous removal, if the control method is added or applied to a purification plant with more than one compartment the compartments are controlled individually which makes operation of the plant more flexible. Also it can be desirable to add a new compartment to an existing purification plant when applying the control method of the present invention in order to optimise the process and to increase phosphorous removal.

In the present application the following terms will be used to describe the conditions in the water treatment plant:

Aerobic conditions mean that oxygen (O₂) is present at the location. Under aerobic conditions the bacteria decompose organic matter and convert ammonia and nitrous compounds into nitrate, sludge and carbon dioxide. Easily degradable organic material is the fastest to be decomposed. Nitrifying bacteria convert ammonia and other nitrogenous compounds into nitrate while heavier organic material is decomposed by other bacteria. The phosphorous removing bacteria take up phosphorous.

Anoxic conditions mean that nitrate (NO₃) but not free oxygen is present at the location. Under anoxic conditions the denitrifying bacteria use nitrate as oxygen source to decompose organic matter and during this process nitrate is converted into free nitrogen. The phosphorous removing bacteria also take up phosphorous under these conditions.

Anaerobic conditions mean that neither nitrate nor oxygen is present at the location. Under anaerobic condition the phosphorous removing bacteria are able to grow when supplied with an easily degradable carbon source and an internal stock of carbon sources stockpiles in the phosphorous removing bacteria.

When anaerobic conditions are applied to a compartment or a section of a purification plant, the processes normally taking place in this compartment e.g. denitrification and/or ammonia degradation are stopped or slowed down. Therefore during the growth of the phosphorous removing bacteria the plant may not be able to purify with the same efficiency for nitrogen removal since these processes now have less process time. It is therefore preferred to allow the phosphorous removing bacteria to grow and build up the internal carbon sources needed for the processes taking up phosphorous during periods with excess capacity for instance during certain times of the day with a low load of wastewater. However since it can be difficult to predict exactly when there is excess capacity in the system and for how long, there is a risk that the plant might not have sufficient nitrogen removal capacity when needed. Further, a sudden window of opportunity will not be utilised by just using fixed on and off times. It is therefore preferred to use the values of one or more measured system parameters to determine when a plant or a plant section has capacity available for removing phosphorous and optionally for how long.

However it is not only the amount of phosphorous removing bacteria or the amount of internal carbon sources that determines the efficiency of the phosphorous removal. If too few bacteria are present only a small amount of phosphorous can be taken up. If the amount of internal carbon sources in the bacteria is too small once again only a small amount of phosphorous can be taken up. Further if the ratio between the internal carbon sources and the amount of bacteria is too small the uptake of phosphorous is too slow and the phosphorous might not be consumed before the water is passed on. In order to increase the ratio it will be necessary to ensure the bacteria access to an easily degradable carbon source and to apply anaerobic conditions to the section inducing a growth period. Increasing the ratio then takes time and this time has to be taken from other processes such as the nitrification and denitrification processes. An important aspect of the invention therefore aims at optimizing all concerned processes relative to each other in order to obtain an overall improved purification of the waste water.

In a preferred embodiment the control method described here aims at introducing Enhanced Biological Phosphorous Removal (EBPR) in a biological wastewater treatment plant which is not necessarily designed for EBPR. EBPR is achieved by means of controlling the biological reactions in the existing biological reactors in contrast to building additional reactors. The control method can be used for EBPR alone or in combination with Biological Nitrogen Removal (BNR). In the case of combination of EBPR and BNR, the processes involved in EBPR and BNR, respectively, compete for the same process time. Thus, in lack of capacity for both, a prioritisation between EBPR and BNR must be done. In general, this prioritisation favours BNR due to discharge regulations and the possibility to remove phosphorous by means of precipitation chemicals. In the combined case, the control method exploits the fact that treatment plants are experiencing varying conditions with high and low load situations. In low load periods, the treatment plant normally has an overcapacity and this is utilised by promoting EBPR within the existing reactor volumes.

The process is controlled using intermittent aeration. This means that the process conditions are alternated between aerobic (aeration), anoxic (agitation) and anaerobic (agitation) conditions. The aerobic phase is referred to as the N-phase and the anoxic and anaerobic phases together constitute the DN-phase. The N- and DN-phase lengths are determined based on the current load/capacity situation. The length of the N-phase is determined so that sufficient uptake of phosphate and, if combined with BNR, nitrification are achieved. The length of the DN-phase is determined so that sufficient storage of intercellular compounds in the phosphorous accumulating organisms (PAO) and, if combined with BNR, denitrification are achieved.

When EBPR is combined with BNR, the DN-phase comprises both anoxic and anaerobic conditions as the non-aerated period has to be prolonged beyond the anoxic phase reaching anaerobic conditions.

The control method comprises a cycle with two phases: The reactor is aerated (N-phase) until the uptake of phosphate reaches a level determined based on the current load/capacity situation. To quantify the uptake of phosphorous, a system parameter, A, is measured. To quantify the load/capacity situation one or several system parameters, A, B, C, . . . , are measured. From A, B, C, . . . , a control parameter, a_(N), is derived. The length of the N-phase is a function of A and of a_(N), e.g. the N-phase continues as long as A>a_(N), when A≦a_(N) a control action is implemented in order to stop the N-phase. When EBPR is combined with BNR, the aeration continues until sufficient nitrification is obtained and the uptake of phosphate reaches a level determined based on the current load/capacity situation. To quantify the nitrification, a system parameter, G, is measured. To quantify the load/capacity situation, one or several system parameters, G, H, J, . . . , are measured. From G, H, J, . . . , a control parameter, g_(N), is derived. The length of the N-phase is a function of A, a_(N), G and g_(N), e.g. the N-phase continues as long as A>a_(N) & G>g_(N). The continuation of the N-phase is realised by controlling the aeration based on the current load/capacity situation.

The reactor is agitated (DN-phase) until the storage of intercellular compounds reaches a level which level has been determined based on the current load/capacity situation. To quantify the storage of intercellular compounds, a system parameter, A, is measured. To quantify the load/capacity situation one or several system parameters, A, B, C, . . . , are measured. From A, B, C, . . . , a control parameter, a_(DN), is derived. The length of the DN-phase is a function of A and a_(DN), e.g. the DN-phase continues as long as A<a_(DN). When EBPR is combined with BNR, the DN-phase continues until sufficient denitrification is obtained and until the storage of intercellular compounds reaches a level determined based on the current load/capacity situation. To quantify the denitrification a system parameter, G, is measured. To quantify the load/capacity situation, one or several system parameters, G, H, J, . . . , are measured. From G, H, J, . . . , a control parameter, g_(DN), is derived. The length of the DN-phase is a function of A, a_(DN), G and g_(DN), e.g. the DN-phase continues as long as A<a_(DN) & G<g_(DN). The continuation of the DN-phase is realised by keeping the aeration off.

The present invention is especially suited when using multiple control functions. The use of multiple control functions is described in detail in EP 642 469 and is characterized in that a control parameter is determined on the basis of the measurement results for at least two system parameters and the control functions associated with said system parameters.

The use of multiple control functions is based on the knowledge that some of the system parameters measured during the control of a waste water purification plant provide information about the same physical conditions, and that consequently such system parameters may be used to obtain a more accurate, quick and reliable identification of the state of the plant and determination of the control parameter, thereby resulting in a more efficient control of the plant.

When using multiple control functions the control parameter can be determined on the basis of a weighted combination of individual control parameters where each of the individual control parameter cp_(i) is a function of one system parameter. In the multiple control functions the individual control parameters are weighted relative to their suitability in connection with the control action in question.

The use such control allows the control functions used in the determination of the control parameter to be weighted differently depending on the magnitude of the parameter.

The control parameter may e.g. be determined by use of one of the following two formulas: $\begin{matrix} {{CP} = \frac{{w_{1}{cp}_{1}} + {w_{2}{cp}_{2}} + {w_{3}{cp}_{3}} + \ldots + {w_{m}{cp}_{m}}}{w_{1} + w_{2} + w_{3} + \ldots + w_{m}}} & (1) \end{matrix}$ Wherein CP is the resulting control parameter, w_(i) are weights, cp_(i) are the individual control parameter determined with the individual control functions and m is a positive integer above 1, $\begin{matrix} {{CP} = \frac{{w_{1}{cp}_{1}^{n_{1} + 1}} + {w_{2}{cp}_{2}^{n_{2} + 1}} + {w_{3}{cp}_{3}^{n_{3} + 1}} + \ldots + {w_{m}{cp}_{m}^{n_{m} + 1}}}{{w_{1}{cp}_{1}^{n_{1}}} + {w_{2}{cp}_{2}^{n_{2}}} + {w_{3}{cp}_{3}^{n_{3}}} + \ldots + {w_{m}{cp}_{m}^{n_{m}}}}} & (2) \end{matrix}$ Wherein CP, w_(i), cp_(i) and m have the meaning defined above, and wherein n_(i) are real numbers.

The determination of the control parameter using weights for the individual control functions may further be carried out by using a combination of different continuous functions, such as exponential, logarithmic and potency functions, i.e. using conventional statistic and stochastic models.

The determination of the control parameter and the subsequent selection of the control action are preferably carried out using a mathematical model for the purification plant which defines the correlation between system parameters, derived system parameters and control parameters and which can describe the state of the purification plant at the relevant point of time. Alternatively, the control action may be determined on the basis of a predetermined set of rules.

Another variant of using multiple control functions is characterized in that the quality of the measurement results is evaluated and that the control parameter is determined on the basis of the evaluated measurement results.

The evaluation of the quality of the measurement results is preferably carried out using the method described in DK patent application No. 1677/91 having the title “Method of controlling waste water purification plants using quality evaluation of measurement data”.

Reference is made to the above application for a more detailed description of the way in which the evaluation of the quality of the measurement results is carried out in the above-mentioned preferred variation of using multiple control functions.

The quality evaluation of the measurement results is preferably carried out on the basis of a comparison of the measurement value for at least one parameter with an expected dynamic value interval calculated continuously on the basis of the mathematical model and a simultaneous and/or previous measurement of one or several other parameters and/or a previous measurement of the same parameter.

The expected dynamic value interval is preferably determined by calculation of an expected dynamic value and maximum variations there from.

More preferably, the quality evaluation of the measurement results is carried out by evaluating the credibility of the measurement value on the basis of the comparison of the measurement value with the expected dynamic value interval by the allocation of a credibility factor which in combination with the measurement value is used in the subsequent determination of the control parameter.

Prior to the determination of the control parameter, the measurement results may possibly be corrected with a value corresponding to the magnitude of the identifiable measurement interference, if any.

As used herein the term “identifiable measurement interference” means measurement interference caused by influences imposed on the purification plant in connection with the control of same.

The quantification of the identifiable measurement interference is preferably carried out on the basis of the mathematical model and past data of response courses for control modifications of the same type carried out previously.

In the above described variant of multiple control, the control parameter is determined at any time on the basis of the last credible measurement results of those available and b) weighting of same according to their credibility, thereby obtaining an optimum control compared to the collected material of measurement results, and which control is far more efficient than the control obtained with the prior art methods.

The control parameter is determined on the basis of the collected measurement values for two or more system parameters and the control functions and credibility factors associated therewith.

In this case the control parameter may e.g. be determined by using one of the following two formulas: ${CP} = \frac{{w_{1}{cf}_{1}{cp}_{1}} + {w_{2}{cf}_{2}{cp}_{2}} + {w_{3}{cf}_{3}{cp}_{3}} + \ldots + {w_{m}{cf}_{m}{cp}_{m}}}{{w_{1}{cf}_{1}} + {w_{2}{cf}_{2}} + {w_{3}{cf}_{3}} + \ldots + {w_{m}{cf}_{m}}}$ Wherein CP, W₁, cp₁ and m have the meaning defined above, and wherein cf₁ is a credibility factor, ${CP} = \frac{{w_{1}{cf}_{1}{cp}_{1}^{n_{1} + 1}} + {w_{2}{cf}_{2}{cp}_{2}^{n_{2} + 1}} + {w_{3}{cf}_{3}{cp}_{3}^{n_{3} + 1}} + \ldots + {w_{m}{cf}_{m}{cp}_{m}^{n_{m} + 1}}}{{w_{1}{cf}_{1}{cp}_{1}^{n_{1}}} + {w_{2}{cf}_{2}{cp}_{2}^{n_{2}}} + {w_{3}{cf}_{3}{cp}_{3}^{n_{3}}} + \ldots + {w_{m}{cf}_{m}{cp}_{m}^{n_{m}}}}$ Wherein CP, cp₁, cf₁, n and m have the meaning defined above.

The method according to the invention is preferably carried out using an integral control and computer system (control apparatus) collecting and storing measurement results and control signals, processing the collected data using a mathematical model and implementing new control actions.

Preferably the method is used in wastewater treatment plants without separate step for biological phosphorous removal e.g. Biodenitro, predenitrifying process AO etc. However improved phosphorous removal can also be achieved in wastewater treatment plans with separate step for biological phosphorous removal e.g. biodepho, pre-denitrifying process A2O etc.

An effect of using the invention is that the overall bacteria flora in the wastewater treatment plant slowly changes reaching conditions which further improves the treatment of the wastewater. Depending on the plant the adaptation of the bacteria flora could take around a month and as the conditions, when lengthening the anaerobic time period, favours the PAO's, this population will increase.

The invention will be described in further details with reference to the figures:

FIG. 1 illustrates compartment of a plant functioning according to the invention;

FIG. 2 illustrates a pre-denitrifying plant with recirculation;

FIG. 3A illustrates the main phases at an alternating EBNR process. DN: anoxic conditions, N: aerobic conditions (other intermediate phases may also be used);

FIG. 3B illustrates the criteria for EBNR in alternating processes. The control strategy utilises NO₃ and NH₄ measurements;

FIG. 4 illustrates the working principle of the SBR;

FIG. 5 shows a flow diagram of a control algorithm;

FIG. 6A P-range as a function of the excess nitrogen removal capacity;

FIG. 6B Illustration of how the phosphate limits change with changing nitrogen load.

FIG. 1 shows a compartment in a purification plant with a combined treatment of EBPR and BNR. The compartment comprises an inlet I, an outlet O, a sensor S, a ventilator A and a controller C. The inlet I supplies the reactor with wastewater and treated wastewater is drawn from the outlet O of the reactor. In the reactor, the measured system parameters, which are registered with the sensor S, are ammonium (NH₄), nitrate (NO₃), phosphate (PO₄) and dissolved oxygen (DO) concentrations. The controller C receives the values from the sensor and controls the amount of air applied to the compartment, the described control cycle is repeated indefinitely. During the N-phase, the ammonium concentration is decreased by nitrification of ammonium to nitrate (via nitrite) and phosphate is stored in the PAO cells during phosphate uptake. During the DN-phase, the nitrate concentration is decreased by denitrification and the phosphate concentration is increased due to phosphate release.

N-phase. PO₄ is used to quantify the phosphate uptake. NH₄ is used to quantify the nitrification of ammonia to nitrate. NH₄, NO₃ and PO₄ are used to quantify the current load/capacity situation. Aeration of the reactor is maintained by controlling the DO concentration to a DO_(sp). The N-phase continues until NH₄ is lower than the level NH_(4, low) and PO₄ is lower than PO_(4, low). The level NH_(4, low) is a function of the current NH₄ and NO₃ measurements. The level PO^(4, low) is a function of the current NH₄, NO₃ and PO₄ measurements. The level DO_(sp) is a function of current NH₄ and NO₃ measurements.

DN-phase. PO₄ is used to quantify the phosphate release. NO₃ is used to quantify the denitrification of nitrate to gaseous nitrogen. NH₄, NO₃ and PO4 are used to quantify the current load/capacity situation. Aeration is turned off by controlling the DO concentration to DO_(sp)=0. The DN-phase continues until NO₃ is lower than the level NO_(3, low) and PO₄ is higher than the level PO^(4, high). The level NO_(3, low) is a function of the current NH₄ and NO₃ measurements. The level PO^(4, high) is a function of the current NH₄, NO₃ and PO₄ measurements.

FIG. 2 shows a pre-denitrification system with recirculation. In this plant feed is supplied to a first compartment 1 together with a recycled stream 4 from a second compartment 2. The conditions in the first compartment are monitored, system parameters are measured and the recycled stream flow to the compartment is regulated. The compartments can be stirred by stirring means. The first compartment 1 is traditionally kept at anoxic conditions by not allowing the compartment to be aerated, e.g. by not supplying any air, and by supplying the compartment with nitrate via the recycled stream 4 (explained below). In the first compartment denitrifying bacteria convert the supplied nitrate to gaseous nitrogen using the freshly supplied organic material. By this process the amount of nitrate decreases and since ammonia is supplied with the freshly introduced stream the ammonia concentration may rise. From the first compartment material is supplied to the second compartment in which it is kept at aerobic conditions, e.g. by aerating the wastewater. In the second compartment organic matter is decomposed and the supplied ammonia and nitrogenous compounds are degraded to nitrate. In the second compartment further measurements of system parameters are made and on the basis of at least one of the measured system parameters a control action is implemented e.g. a change in the amount of stream being recycled. In this process up to 10 times of the freshly supplied material is recycled, preferably the recycle rate is approximately 5 times the freshly supplied material. From the second compartment the stream can be let out to the surroundings 8 optionally via a sedimentation unit 6 or in case no phosphorous removal has been performed to a phosphorous removing unit. The phosphorous removing unit typically uses precipitating agents to remove phosphorous but electrochemical processes can also be used. In this embodiment a phosphorous removing unit 3 is placed upstream to the first compartment.

By measuring a system parameter in e.g. the second compartment, it can be calculated whether it is possible to stop or reduce the recycling from the second compartment for a while. This is the case if e.g. the amount of nitrate is sufficiently low to be lead into the surroundings or if the second tank has excess storage capacity for supplied material. When the supply of nitrate to the first tank is reduced, the conditions in the first tank will change from anoxic to anaerobic. Depending on how much the supply of nitrate to the first tank is reduced a mixture of anoxic and anaerobic conditions can be present in the section e.g. in regions close to the inlet of nitrate there is anoxic conditions and in regions further away there is anaerobic conditions since the nitrate has been consumed. Now on the basis of measurements and calculations easily degradable organic material can be supplied to the first compartment, if needed, either as separated stream, from the freshly supplied stream or in combination thereof. Under these conditions the phosphorous removing bacteria begin to grown and as described earlier the bacteria first release phosphorous and increase in number and their internal carbon sources. When the materials then flows from the first compartment to the second compartment, having aerobic conditions, the phosphorous removing bacteria take up the phosphorous again and since their number have increased an increased amount of phosphorous is taken up by the bacteria. On the basis of measured system parameters it is determined when to abolish the anaerobic conditions in the first compartment which can be done by increasing the supply of nitrate to the first compartment e.g. by increasing/starting the recycling from the second compartment being rich in nitrate. Since the phosphorous removing bacteria have taken up more phosphorous, a smaller amount, if any, has to be precipitated by precipitating agents resulting in reduced consumption of precipitation agents.

FIG. 3A illustrates an alternating plant. The alternating process relies on a cyclic operating schedule, which alters the flow through a tank set (normally two tanks) in a reoccurring fashion. For enhanced biological nitrogen removal (EBNR), the cycle consists of at least two phases—aerobic (nitrification) and anoxic (denitrification) according to FIG. 3. The phases are generally significantly shorter than the hydraulic retention time, which allows avoidance of nitrate recirculation. The timing of the outflow of the reactors can be optimized and this is often done to obtain the lowest possible effluent ammonia concentration, i.e. the outflow is drawn from the tank with the lowest NH₄ concentration. The two main phases can be supplemented by several more, for instance both reactors are aerated, water flows only through the nitrifying reactor, etc. and this implies that the total nitrification and denitrification times are not necessarily equal. The degree of freedom achieved in this way can be used to adapt the operation to varying conditions. The two-reactor process configuration discussed here is often referred to as the BioDenitro process.

An alternating control strategy developed for nitrogen removal, i.e. nitrification and denitrification is based on on-line NO₃ and NH₄ measurements. The criteria for ending the nitrification and the denitrification phases, respectively, are functions of the two measurements. The control strategy is depicted in FIG. 3B as a two dimensional space in which the criteria define the operational region. During the nitrification phase the process moves from right to left and from bottom to top and during the denitrification phase the other way around. As soon as the process crosses a boundary defined by one of the control parameters k_(N) or k_(DN) the nitrification or denitrification phase is ended. The advantage of this control strategy is that it adapts the phase lengths to load changes and no time and/or energy is wasted due to inappropriate phase lengths. The rule-based structure of the strategy makes it intuitive and optimisation of the criteria is relatively transparent.

FIG. 4 illustrates the working principle of the SBR (Sequencing Batch Reactor) tank. In step (1) the tank is filled with wastewater and nitrification is facilitated by aeration. In step (2) aeration is stopped and the system is allowed to reach anaerobic conditions. Denitrification takes place and the phosphorous removing bacteria runs through the cycle as described previously. In step (3) a second filling phase takes place and aeration is restarted resulting in nitrification taking place. During this phase phosphorous is taken up by the phosphorous removing bacteria. In step (4) once more anoxic and aerobic condition are provided in the tank followed by a third filling phase in step (5) where aeration is restarted. When phosphorous has been removed and sufficient amount of the freshly introduced material has been degraded the tank (6) is allowed to settle and sludge and purified water can be passed on (7, 8).

FIG. 5 illustrates an algorithm of a specific control method according to the present invention. NO₃, NH₄, PO₄ are system parameters (sp) and they are measurements of the concentrations of respectively nitrate, ammonium and phosphate. K_(nN), K_(nbiop), K_(dnN) and K_(dnbiop) are control parameters calculated from the system parameters. K_(nN) and K_(dnN) are calculated from NH₄ and NO₃ according to the following equation: ${{CP}\left( {{sp}_{1},{sp}_{2}} \right)} = \left\{ \begin{matrix} {yes} & {{f\left( {sp}_{1} \right)} \geq {sp}_{2}} \\ {no} & {{f\left( {sp}_{1} \right)} < {sp}_{2}} \end{matrix} \right.$

Where CP is the resulting control parameters K_(nN) or K_(dnN). sp₁ and sp₂ are the system parameters NO₃ and NH₄ and the function f(sp₁) is based on empirical experience. K_(nN) or K_(dnN) are illustrated in FIG. 5 by a curve showing sp₂ as a function of sp₁. The resulting parameter is determined by where the point (sp₁, sp₂) are placed relative to the curve. If the point (sp₁, sp₂) is above the curve the resulting control parameter is ‘yes’ and if the point (sp₁, sp₂) is under the curve the resulting control parameter is ‘no’.

K_(nbiop) is calculated from NH₄ and Po₄ according to the following equation: ${{CP}\left( {{sp}_{1},{sp}_{2}} \right)} = \left\{ \begin{matrix} {yes} & {{sp}_{1} < {{Lim}\quad{1\bigvee{sp}_{2}}} < {Limsp}_{2}} \\ {no} & {Else} \end{matrix} \right.$

Where CP is the resulting control parameter K_(nbiop). sp₁ and sp₂ are the system parameters PO₄ and NH₄. Lim1 is a function of 24 hours average of and PO₄ based on empirical experience. Limsp₂ is a fixed limit.

K_(dnbiop) is calculated from PO₄, NH₄ and PO₄ according to the following equation: ${{CP}\left( {{sp}_{1},{sp}_{2},{sp}_{3}} \right)} = \left\{ \begin{matrix} {yes} & {{sp}_{1} > {{{Lim}\quad 1} + {{dPo4}\bigvee{sp}_{2}}} < {Limsp}_{2}} \\ {no} & {Else} \end{matrix} \right.$

Where CP is the resulting control parameter K_(dnbiop). sp₁, sp₂ and sp 3 are the system parameters PO₄, NH₄ and NO₃. Lim1 is a function of 24 hours average of PO₄ based on empirical experience. dPO₄ is a function of the total concentration of NH₄ and NO₃ and based on empirical experience. Limsp₂ is a fixed limit.

According to the algorithm of FIG. 5 the control parameter K_(dnN) and the control function described above and illustrated by a form of a curve showing NH₄ as a function of NO₃ are first selected. It is then determined whether to implement a first control action such as aerating, stopping supply of nitrate or keeping aeration stopped and this action is implemented so as to reach anaerobic conditions. A second system parameter being the concentration of PO₄ is measured and the second control parameter K_(dnbiop) is selected. A second control function having the control parameter dPO₄ as a function of the total concentration of NH₄ and NO₃ is selected and this function together with a measurement of the concentration of NH₄ and on this basis it is determined which control action should be implemented. In this case the choice is between supplying nitrate, aerating and supplying carbon sources. When aerating or nitrate supply is selected and implemented the purifying section leaves anaerobic conditions. When aeration is selected the section goes into aerobic conditions. On the basis of the measured system parameters NH₄ and NO₃ a third control parameter, K_(nN), is selected together with a third control function described above and illustrated by a curve showing NH₄ as a function of NO₃. This curve can be the same as earlier or it can be another curve. A third control action is then selected e.g. continue aeration, turning of aeration off and implemented thus letting the section reach anoxic conditions. A 4^(th) system parameter being the concentration of PO₄ is measured and the 4^(th) control parameter K_(nbiop) is selected. A 4^(th) control function having PO₄ as a function of the 24 hours mean concentration of PO₄ is selected and this function together with a measurement of the concentration of NH₄ and on the basis of this it is determined which control action should be implemented, e.g. turning of aeration and thus letting the section reach anoxic conditions. By using the 4^(th) system parameter the aeration phase can be prolonged if desired.

FIG. 6A and B shows how a control strategy can be adapted to load dependence.

Biological phosphorus activity generates orthophosphate (PO₄) dynamics within the operational cycle similar to those of the NH₄. High biological phosphorus activity means large variation in PO₄ concentration but it has only marginal effect on the average concentration in the reactor. But significantly lower effluent PO₄ concentrations can be obtained due to the effluent flow optimisation (i.e. the timing of the outflow) and the fact that the PO₄ concentration is positively correlated with NH₄ concentration (PO₄ is low at the same time as NH₄ is low). An EBPR strategy should, consequently, promote the variation in PO₄ concentration and this is achieved by introducing an anaerobic phase in the operational cycle.

The basic control idea is simple and could be seen as an add-on to the standard nitrogen removal strategy described earlier. It consists of additional criteria for PO₄, which need to be fulfilled in addition to k_(N) or k_(DN) to end a phase. These additional PO₄ criteria are PO₄<P_(low) (end of aerobic phase) and PO₄>P_(high) (end of anaerobic phase), where P_(low) and P_(high) are predefined (or as we will see later, calculated) PO₄ limits. The phase cycle is in principle as follows. After depletion of NO₃, the anoxic phase is prolonged and, consequently, develops into an anaerobic phase. During the anaerobic phase, the PO₄ concentration increases due to the release of cell internally stored phosphorus. The anaerobic phase is ended when k_(DN) is fulfilled and the PO₄ concentration is above P_(high). During the following aerobic phase, PO₄ will decrease since phosphorus is stored internally by the PAO's. The aerobic phase is continued until k_(N) is fulfilled and the PO₄ concentration is below P_(low). The control strategy can be summarised in two main rules:

-   end aerobic (N) phase if k_(N) and PO₄<P_(low) and -   end anoxic/anaerobic (DN) phase if k_(DN) and PO₄>P_(high).

So far the strategy is relatively straightforward. However, as described above with fixed predefined values on P_(low) and P_(high), respectively, the strategy would fail as soon as the load to the plant or the biological rates changes. Some additional requirements must be imposed on the strategy for it to be functional and these will be discussed below.

An important prerequisite of the control strategy is that the EBPR should have no or only a minor negative effect on the effluent nitrogen concentrations. This limits the EBPR strategy to periods when there is an excess nitrogen removal capacity (nitrogen_capacity —nitrogen_load>0), since full denitrification is required to obtain anaerobic conditions. This excess capacity is typically encountered when the nitrogen load is low or when the nitrification and denitrification rates are high, e.g. during summer. Of course, the nitrification and denitrification phases can be adjusted to obtain anaerobic conditions even when the plant has no extra capacity, but this would result in a high effluent nitrogen concentration. This is undesired since, in contrast to PO₄, precipitation chemicals cannot remove nitrogen. Thus, nitrogen removal must generally be prioritised and EBPR only applied when the nitrogen load is smaller than the nitrogen removal capacity.

Relating the levels P_(high) and P_(low) to the nitrogen load/capacity situation incorporates load dependency in the strategy. This is achieved when P_(range) is a function of the excess removal capacity according to FIG. 6A (P_(range)=P_(high) −P_(low)). Thus, low excess capacity yields a small P_(range) and this, in turn, allows the criteria PO₄>P_(high) to quickly be fulfilled, which results in a short (or no) anaerobic time. On the other hand, a large excess capacity yields a large P_(range) and a longer anaerobic time. FIG. 6B illustrates the idea. Consider the phases to the left in the figure. Here, there is excess capacity and, consequently, anaerobic time will be imposed. It is the PO₄ concentration that determines the phase lengths (the nitrogen criteria are fulfilled before the PO₄ criteria). However, after the load change, there is no longer excess capacity. P_(high) is lowered, which means that the criterion PO₄>P_(high) will be fulfilled earlier with a shorter anaerobic phase as result. The following phases are longer as the nitrogen criteria are now determining the phases and therefore, PO₄ concentrations are allowed to exceed P_(high) and P_(low). It is important to note that even though it is tempting to think that low values on P_(high) and P_(low) give the best reduction of PO₄, it is not possible to maintain these low values for long since the PAO's need anaerobic time to remain in the system.

It is evident that the parameters of the function in FIG. 6A will be very decisive for the strategy and can be used for optimisation of and prioritisation between biological phosphorus and nitrogen removal. The nitrogen removal capacity is generally not available as a variable but it can be estimated utilising the inherent dynamics of an alternating plant. Both the incoming nitrogen load and the current nitrification and denitrification capacity are estimated on-line and the estimates are based on the same measurements as used for the nitrogen criteria, i.e. NO₃ and NH₄. The slope in the function is directly related to the bio-P activity or more accurately to the biological release and uptake rates of PO₄. A steep slope corresponds to high rates, i.e. fully established bio-P activity. The PO₄ release and uptake rates can be estimated on-line similar to nitrification/denitrification rates. A strategy which is based on estimates of both nitrogen and phosphorus rates does not only give us a load dependent strategy. It will also adjust itself to the changes in the process, i.e. a fully adaptive strategy.

What remains is to make the prioritisation between nitrogen and phosphorus removal. This is determined by the intercept of the function and the x-axis. A negative value (i.e. at under capacity) puts high priority on phosphorus removal EBPR as it will use some of the nitrogen removal capacity. On the contrary, a positive value on the excess capacity gives a conservative strategy that clearly prioritises nitrogen removal. In the above discussion we have assumed that the function in FIG. 6A is linear. This is not necessarily so and the function may very well be non-linear and discontinuous Saturation on P_(range) should probably be implemented to avoid too high PO₄ concentrations.

A simplified version of the function in FIG. 6A is to let P_(range) be a function of the sum of NO₃ and NH₄ in the reactor. High nitrogen (NO₄+NO₃) concentration results in a low P_(range) and a low concentration gives a high P_(range). This means that the strategy is still load dependent, as the nitrogen concentration in the reactor can be assumed to be a good estimate of the nitrogen load. However, to follow changes in biological rates, manual alterations to the simplified function parameters must be carried out. 

1. A control method comprising a cycle with two phases, a first and a second phase, in the first phase aeration continues until sufficient nitrification is obtained and the uptake of phosphate reaches a defined level based on the current load or capacity situation, the second phase continues until sufficient dentrification is obtained and until the storage of intercellular compounds reaches a defined level.
 2. A control method according to claim 1, where the uptake of phosphorous in the first step is quantified by at least one system parameter (A, B, C, . . . ) and at least one control parameter a_(N) is derived from the at least one system parameter; the nitrification of the first step is quantified by at least one system parameter (G, H, J, . . . ) and at least one control parameter g_(N) is derived from the at least one system parameter; the storage of intercellular compounds in the second step is quantified by a system parameter (A, B, C, . . . ) and at least one control parameter a_(DN) is derived from the at least one system parameter; the dentrification of the second step is quantified by at least one system parameter (G, H, J, . . . ) and at least one control parameter g_(DN) is derived from the at least one system parameter.
 3. A method of controlling a wastewater treatment plant having a purifying section, said method comprising the steps of: a) continuously measuring one or more system parameters, b) determining a first control parameter on the basis of the measured values from step a) and a first control function, c) determining a first control action on the basis of the measured values from step a) and the first control parameter of step b) and subsequently, d) implementing the first control action, e) letting said purifying section change conditions, f) determining a second control parameter on the basis of the measured values from step a) and a second control function, g) determining a second control action on the basis of the determined control parameter and subsequently, h) implementing the second control action, i) letting the purifying section return to the conditions of step b) to d), and j) return to step b).
 4. A method according to claim 3, wherein the system parameters in step a) are selected from the group consisting of nitrate concentration, ammonium concentration, phosphate concentration, oxygen concentration, COD (chemical oxygen demand), BOD (biochemical oxygen demand), TOC (total organic carbon) and temperature.
 5. A method according to claim 3, wherein the system parameters in step a) are the concentration of NH₄NO₃ and the concentration of PO₄ and the first control action is selected from the group consisting of stopping supply of nitrate, stopping aeration and keeping the aeration turned off and the second control action is selected from the group consisting of supplying carbon sources, supplying nitrate and starting aeration.
 6. A method of controlling a wastewater treatment plant having a purifying section, said method comprising the steps of: a) letting the purifying section reach anaerobic conditions at a predetermined time or at a time calculated on the basis of a first measured system parameter, b) leaving the anerobic conditions at a time calculated on the basis of a second measured system parameter.
 7. A method according to claim 6, which further comprises the step of: c) letting the purifying section reach aerobic conditions, d) leaving aerobic conditions at a time calculated on the basis of third measured system parameter.
 8. A method according to claim 6 or 7 wherein the purifying section is let to reach anaerobic conditions at a time calculated on the basis of at least two system parameters.
 9. A method according to claim 6 or 7 wherein the aneroblic conditions are abolished at a time calculated on the basis of at least two measured system parameters.
 10. A method according to claim 6 or 7 wherein the system parameters are selected from the group consisting of nitrate concentration, ammonium concentration, phosphate concentration, oxygen concentration and temperature.
 11. A method assuring increased biological phosphorous removal in a purifying plant with one or more aerated sections comprising the following steps: a) continuously determining the concentrations or the rates of formation for NH₄, NO₃ and PO₄; b) determining two control parameters: K_(nN)=f(NH₄, NO₃) and K_(nbiop)=f(PO₄, NH₄) on the basis of the concentrations or the rates of formation for NH₄, NO₃ and PO₄; c) implementing a control action terminating the nitrification phase when K_(nN) and K_(nbiop) are fulfilled; e) letting the purifying section reach anaerobic conditions; f) determining two control parameters K_(dnN)=f(NH₄, NO₃) and K_(dnbiop)=f(PO₄, NH₄, NO₃); g) determining a control action to terminate the dentrification phase when K_(dnN) and K_(dnbiop) are fulfilled; h) implementing the determined control action; i) letting the purifying section return to aerobic conditions; and j) return to step b). 